package com.wsoft.bpm.query.run;

import com.wsoft.bpm.query.node.TaskCandidateQuery;
import com.wsoft.bpm.query.node.TaskExecuteQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 审批通过请求类
 *
 * @Author zhonglj
 * @Date 2024-11-01 9:29
 */
@Data
@Accessors(chain = true)
public class AgreeQuery {
    @NotBlank(message = "任务id不能为空!")
    @Schema(description = "任务id")
    private String taskId;
    @Schema(description = "意见")
    private String comment;
    @Schema(description = "页面选择的下一个用户节点")
    private List<String> nextActIds;
    @Schema(description = "任务执行人")
    private TaskExecuteQuery taskExecute;
    @Schema(description = "任务候选人")
    private TaskCandidateQuery taskCandidate;
    private Boolean authCheck = Boolean.TRUE;
}